package com.lu.component.http.proxy.support.flow;

import com.lu.component.rpc.annotations.RpcApiRequest;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.function.Supplier;

/**
 * 集群流控
 *
 * @author: zhanglu
 * @date: 2023/9/4 14:59
 * @modify: 修改人信息, 修改内容 2023/9/4 14:59
 */
public class RpcFlowControlCluster extends RpcFlowControlAbstract{

    private static final Logger log = LoggerFactory.getLogger(RpcFlowControlCluster.class);

    public RpcFlowControlCluster(RpcApiRequest rpcApiRequest) {
        super(rpcApiRequest);
    }

    @Override
    public <T> T execute(String key, Supplier<T> supplier, Supplier<T> fallback) {

        return null;
    }

}
